<template>
  <MenuList
    :menus="menuStore.computeHistoryMenus"
    type="history"
    class="je-admin-sider-menu-history"
    @remove="removeHistoryMenu"
  ></MenuList>
</template>
<script>
  import { defineComponent } from 'vue';
  import MenuList from './menu-list.vue';
  import { removeHistoryMenu } from '@/hooks/use-menu';
  import { useMenuStore } from '@/stores/menu-store';
  export default defineComponent({
    name: 'AdminSiderMenuHistory',
    components: { MenuList },
    setup() {
      const menuStore = useMenuStore();
      return { menuStore, removeHistoryMenu };
    },
  });
</script>
<style></style>
